<?php

class Empeval_Methods_Data_ResponseStatus {
	
	public $status;
	public $auth;
	/**
	 * 
	 * @var Empeval_Methods_Data_BaseUser
	 */
	public $user;
	
	public function __construct($status=true) {
		$this->status = $status;
		$this->auth = Empeval_Auth::getInstance()->isAuth();
		$this->user = (Empeval_Auth::getInstance()->getUser() instanceof EmpevalUsers) ? new Empeval_Methods_Data_BaseUser(Empeval_Auth::getInstance()->getUser()) : null;
	}
	
}